import request from '/@/utils/request';

export function getDepartmentOptions(query: Object) {
    return request({
        url: '/api/v1/lib/department/options',
        method: 'get',
        params: query
    })
}

export function getDepartments(query: Object) {
    return request({
        url: '/api/v1/lib/departments',
        method: 'get',
        params: query
    })
}

export function getDepartment(query: Object) {
    return request({
        url: '/api/v1/lib/department',
        method: 'get',
        params: query
    })
}
